// function loadingBlock(left,top) {
function loadingBlock(left,top) {
    if (App) {
        App.blockUI($('#editor-form'));
        // $('#model_editor .blockElement').css({"left":left+"px","top":top+"px","position":"absolute"});
        $('#model_editor .blockElement').css({"left":left+"%","top":top+"%","position":"absolute"});

    } else {
        console.log('Please use after App.js initialized')
    }
}

function loadingUnblock() {
    if (App) {

        App.unblockUI($('#editor-form'));

    } else {
        console.log('Please use after App.js initialized')
    }
}

function blockElem($elem) {
    if (App) {
        App.blockUI($elem);
    } else {
        console.log('Please use after App.js initialized')
    }
}

function unblockElem($elem) {
    if (App) {
        App.unblockUI($elem);
    } else {
        console.log('Please use after App.js initialized')
    }
}



